<template>
  <div>

    <p-checkbox-group v-model="hobby">
      <p-checkbox label="篮球">篮球</p-checkbox>
      <p-checkbox label="足球">足球</p-checkbox>
      <p-checkbox label="乒乓球">乒乓球</p-checkbox>
    </p-checkbox-group>

    <p>您选择的爱好是:{{hobby}}</p>
  </div>
</template>
<script>
export default {
  data() {
    return {
      hobby: ["足球"],
      checked: true
    };
  }
};
</script>